package lab02.test06;

public class Ladder {
    double upperBase;
    double bottomBse;
    double height;
    double area;
    double area(){
        area=(upperBase+bottomBse)*height/2;
        return area;
    }
}
